Parameters string is a string of characters to be displayed.
Action Displays string in Frontier’s Main Window.
Returns True
Examples msg ("Hello, World!")
» true
“Hello, World!” is displayed in the Main Window.
msg (foo)
Error message is generated because “foo” has not been defined.
foo = "This one will work";
msg (foo)
» true
“This one will work” is displayed in the Main Window.
msg ('a')
» true
Frontier coerces the character parameter to a one-character string.
msg ("")
No message is displayed, but subsequent msg calls made by agents will now be accepted. See Notes.
Notes • msg is an important Frontier verb; you use it frequently to communicate information to the user of your Frontier applications.
• The output from the msg verb is always displayed in Frontier’s Main Window.
• Messages created by agents are “blocked” by messages created by other scripts until the user clicks in the Main Window. A script can “unblock” the message area by calling msg with the empty string.